package com.naiterui.ehp.bs.cms.modules.user.vo;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bs.cms.common.json.Dict;
import com.naiterui.ehp.bs.cms.modules.user.entity.RecordLog;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

/**
 * <pre>
 *   资质信息
 * </pre>
 *
 * @author 王泽浩
 * @date 2019-06-10 14:32
 * @since 1.0.0
 */
@Data
public class DoctorLicenceVO implements java.io.Serializable {
    private static final long serialVersionUID = 2218885706987368653L;

    /**
     * 姓名：
     */
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 医院id
     */
    @ApiModelProperty(value = "医院id")
    private Integer hospitalId;
    /**
     * 医院名
     */
    @ApiModelProperty(value = "医院名")
    private String hospitalName;
    /**
     * 职称
     */
    @ApiModelProperty(value = "职称")
    @Dict(type = "doctor_title")
    private Integer titleId;
    /**
     * 科室id
     */
    @ApiModelProperty(value = "科室id")
    private Integer departmentId;
    @ApiModelProperty(value = "科室名称")
    private String departmentName;

    @ApiModelProperty(value = "所属经纪人")
    private String agentName;

    /**
     * 备案状态 0:未申请备案，1:备案审核中，2:备案成功，3:备案失败, 4:要求备案
     */
    @ApiModelProperty(value = "备案状态 0:未申请备案，1:备案审核中，2:备案成功，3:备案失败, 4:要求备案")
    @Dict(type = "doctor_record_status")
    private Integer recordStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /**
     * 身份证
     */
    @ApiModelProperty(value = "身份证")
    private LicenceVO idCard;

    /**
     * 职称证书
     */
    @ApiModelProperty(value = "职称证书")
    private LicenceVO titleCertificate;

    /**
     * 医师资格证
     */
    @ApiModelProperty(value = "医师资格证")
    private LicenceVO qualificationCertificate;

    /**
     * 备案日志
     */
    @ApiModelProperty(value = "备案日志")
    private List<RecordLog> recordLogs;
}
